package com.ruoyi.gxs.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.entity.SysDept;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 待审批活动对象 gxs_pend_activity
 * 
 * @author 高晓松
 * @date 2023-12-27
 */
public class GxsPendActivity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 待审批活动编号 */
    private Long gxsPendActivityid;

    /** 活动标题 */
    @Excel(name = "活动标题")
    private String gxsPendTitle;

    /** 活动父部门 */
    @Excel(name = "活动父部门")
    private Long parentId;

    /** 活动举办部门 */
    @Excel(name = "活动举办部门")
    private Long deptId;

    /** 活动类型 */
    @Excel(name = "活动类型")
    private Long gxsTypeId;

    /** 活动状态 */
    @Excel(name = "活动状态")
    private Long gxsPendState;

    /** 名额 */
    @Excel(name = "名额")
    private Long gxsLimit;

    /** 剩余名额 */
    @Excel(name = "剩余名额")
    private Long gxsParticipant;

    /** 参与得分 */
    @Excel(name = "参与得分")
    private Long gxsScore;

    public Long getGxsLimit() {
        return gxsLimit;
    }

    public void setGxsLimit(Long gxsLimit) {
        this.gxsLimit = gxsLimit;
    }

    public Long getGxsParticipant() {
        return gxsParticipant;
    }

    public void setGxsParticipant(Long gxsParticipant) {
        this.gxsParticipant = gxsParticipant;
    }

    public Long getGxsScore() {
        return gxsScore;
    }

    public void setGxsScore(Long gxsScore) {
        this.gxsScore = gxsScore;
    }

    /** 活动的举办地点 */
    @Excel(name = "活动的举办地点")
    private String gxsPendLocation;

    /** 活动的举行时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "活动的举行时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gxsPendEventDate;

    /** 活动详细描述 */
    @Excel(name = "活动详细描述")
    private String gxsPendDescription;


    private SysDept sysDept;

    public void setSysDept(SysDept sysDept) {
        this.sysDept = sysDept;
    }

    public SysDept getSysDept() {
        return sysDept;
    }

    public void setGxsPendActivityid(Long gxsPendActivityid)
    {
        this.gxsPendActivityid = gxsPendActivityid;
    }

    public Long getGxsPendActivityid() 
    {
        return gxsPendActivityid;
    }
    public void setGxsPendTitle(String gxsPendTitle) 
    {
        this.gxsPendTitle = gxsPendTitle;
    }

    public String getGxsPendTitle() 
    {
        return gxsPendTitle;
    }
    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setGxsTypeId(Long gxsTypeId) 
    {
        this.gxsTypeId = gxsTypeId;
    }

    public Long getGxsTypeId() 
    {
        return gxsTypeId;
    }
    public void setGxsPendState(Long gxsPendState) 
    {
        this.gxsPendState = gxsPendState;
    }

    public Long getGxsPendState() 
    {
        return gxsPendState;
    }
    public void setGxsPendLocation(String gxsPendLocation) 
    {
        this.gxsPendLocation = gxsPendLocation;
    }

    public String getGxsPendLocation() 
    {
        return gxsPendLocation;
    }
    public void setGxsPendEventDate(Date gxsPendEventDate) 
    {
        this.gxsPendEventDate = gxsPendEventDate;
    }

    public Date getGxsPendEventDate() 
    {
        return gxsPendEventDate;
    }
    public void setGxsPendDescription(String gxsPendDescription) 
    {
        this.gxsPendDescription = gxsPendDescription;
    }

    public String getGxsPendDescription() 
    {
        return gxsPendDescription;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("gxsPendActivityid", getGxsPendActivityid())
            .append("gxsPendTitle", getGxsPendTitle())
            .append("parentId", getParentId())
            .append("deptId", getDeptId())
            .append("gxsTypeId", getGxsTypeId())
            .append("gxsPendState", getGxsPendState())
            .append("gxsLimit", getGxsLimit())
            .append("gxsParticipant", getGxsParticipant())
            .append("gxsScore", getGxsScore())
            .append("gxsPendLocation", getGxsPendLocation())
            .append("gxsPendEventDate", getGxsPendEventDate())
            .append("gxsPendDescription", getGxsPendDescription())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("sysDept", getSysDept())
            .toString();
    }
}
